package cn.dubnation;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 主启动类
 */
@SpringBootApplication
@MapperScan("cn.dubnation.*.mapper")
@EnableCaching  //开启redis自动缓存
public class BabyCarStarter {
    public static void main(String[] args) {
        SpringApplication.run(BabyCarStarter.class, args);
    }
}
